package com.exam.api.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.exam.api.entity. Questions;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* @description: 试题信息数据传输层
* @author: wuming
* @create: 2024.05.03 13:24:03
*/
@Data
@ToString
@TableName("questions")
public class QuestionsDTO extends Questions {

    /**
    * 考试名称
    */
    @TableField(exist = false)
    private String examName;

    @TableField(exist = false)
    private Long teacherId;

    @TableField("exam_id")
    private Long examId; // 确保包含 examId 字段

}
